counter =0# number of set filesp = Path("/Volumes/T7/BrainLat")set_list =list(p.glob("**/*.set"))print(len(set_list))my_list = [fileforfilein set_list iffile.parent.name !="3_PD"]
Filtering raw data in 1 contiguous segment
Setting up band-pass filter from 1 - 45 Hz
FIR filter parameters
---------------------
Designing a two-pass forward and reverse, zero-phase, non-causal bandpass filter:
- Windowed frequency-domain design (firwin2) method
- Hamming window
- Lower passband edge: 1.00
- Lower transition bandwidth: 1.00 Hz (-12 dB cutoff frequency: 0.50 Hz)
- Upper passband edge: 45.00 Hz
- Upper transition bandwidth: 5.00 Hz (-12 dB cutoff frequency: 47.50 Hz)
- Filter length: 3380 samples (6.602 s)
Not setting metadata
139 matching events found
No baseline correction applied
0 projection items activated
Using data from preloaded Raw for 139 events and 1537 original time points ...
0 bad epochs dropped
No projector specified for this dataset. Please consider the method self.add_proj.
Running autoreject on ch_type=eeg
Estimated consensus=0.30 and n_interpolate=32
No bad epochs were found for your data. Returning a copy of the data you wanted to clean. Interpolation may have been done.
An error occurred: epochs.plot() can't run because this Epochs-object is empty. You might want to check Epochs.drop_log or Epochs.plot_drop_log() to see why epochs were dropped.
Effective window size : 3.002 (s)
Averaging across epochs...
Overwriting existing file.
Filtering raw data in 1 contiguous segment
Setting up band-pass filter from 1 - 45 Hz
FIR filter parameters
---------------------
Designing a two-pass forward and reverse, zero-phase, non-causal bandpass filter:
- Windowed frequency-domain design (firwin2) method
- Hamming window
- Lower passband edge: 1.00
- Lower transition bandwidth: 1.00 Hz (-12 dB cutoff frequency: 0.50 Hz)
- Upper passband edge: 45.00 Hz
- Upper transition bandwidth: 5.00 Hz (-12 dB cutoff frequency: 47.50 Hz)
- Filter length: 3380 samples (6.602 s)
Not setting metadata
123 matching events found
No baseline correction applied
0 projection items activated
Using data from preloaded Raw for 123 events and 1537 original time points ...
0 bad epochs dropped
No projector specified for this dataset. Please consider the method self.add_proj.
Running autoreject on ch_type=eeg
Estimated consensus=0.20 and n_interpolate=16
No bad epochs were found for your data. Returning a copy of the data you wanted to clean. Interpolation may have been done.
An error occurred: epochs.plot() can't run because this Epochs-object is empty. You might want to check Epochs.drop_log or Epochs.plot_drop_log() to see why epochs were dropped.
Effective window size : 3.002 (s)
Averaging across epochs...
Overwriting existing file.
Not setting metadata
123 matching events found
No baseline correction applied
0 projection items activated
Not setting metadata
123 matching events found
No baseline correction applied
0 projection items activated
Not setting metadata
123 matching events found
No baseline correction applied
0 projection items activated